package com.xja.boot;

import com.xja.boot.entity.Student;
import com.xja.boot.start;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = start.class)
public class TestOne {
    @Autowired
    private Student student;

    @Test
    public void testStudent(){
        System.out.println("student:"+student);
    }
}
